package org.haq.bae.data;

import java.sql.SQLException;
import java.util.List;

/**
 * DataAccess
 *
 * @author abil
 *         Created Date: 4/22/12 Time: 10:30 PM
 */

public interface DataAccess {

    public List<Object> query(String s) throws SQLException;

    public int execute(String s) throws SQLException;

    public Object get(int i) throws SQLException;

    public int delete(int index) throws SQLException;

    public List<Object> findByExample(String s) throws SQLException;

}
